Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: filter out installed modules in search result, closes #780 #786

Merged
merged 6 commits into from
Feb 16, 2025

Conversation

ramazansancar
Copy link
Contributor

@ramazansancar ramazansancar commented Feb 10, 2025

πŸ”— Linked issue

resolves #780

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ†’ Your use case

I am doing interface development in Vue3. While the currently used libraries are visible in the Modules tab, I finally wondered about the "Install New Module" button. When I clicked it, I saw that all the libraries were listed.

However, I noticed that the libraries I am currently using were included in the list without being filtered. For this reason, I thought a filtered list would be nice.

πŸ†• The solution you'd like

The libraries in the "Install New Module" list can be filtered from those I currently use, or the list can be made cleaner with an option such as "Filter those I currently use".

Filter Off Filter On
Image Image

@arashsheyda
Copy link
Member

@ramazansancar great work, thank you!

thinking about the design, would it make sense to keep it similar to other tabs? e.g.
(action on right, will tooltip, below search bar the info about search)

Screenshot 2025-02-11 at 12 01 26β€―AM

@ramazansancar
Copy link
Contributor Author

Sure, let me send you a little correction. @arashsheyda

@ramazansancar
Copy link
Contributor Author

ramazansancar commented Feb 11, 2025

Revise Screenshots:

Off On
image image

With search:

Off On
image image

@antfu antfu changed the title [Feature] Filtering of available modules in the "Install New Module" list. closes #780 feat: filter out installed modules in search result, closes #780 Feb 16, 2025
@antfu antfu merged commit fc8ced3 into nuxt:main Feb 16, 2025
0 of 2 checks passed
@antfu
Copy link
Member

antfu commented Feb 16, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Filtering of available modules in the "Install New Module" list
3 participants